Count Property

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the number of items currently stored in the Deque. The last item in the Deque has index Count-1.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override sealed int Count{ get;}
Visual Basic (Declaration)
Public Overrides NotOverridable ReadOnly Property Count As Integer
Visual C++
public:
virtual property int Count {
	int get () override sealed;
}

Field Value

The number of items stored in this Deque.

Remarks

Getting the count of items in the Deque takes a small constant amount of time.

See Also